package aip.assignment2.persistence;

/**
 * This class is the SQL parameter used in JPQL
 */
public class SqlParameter
{
	public SqlParameter(String name, Object value)
	{
		this.name = name;
		this.value = value;
	}
	// <editor-fold desc="Property - name" defaultstate="collapsed">
	private String name;
	/**
	 * This property method gets the SQL parameter name.
	 */
	public String getName()
	{
		return name;
	}
	/**
	 * This property method sets the SQL parameter name.
	 */
	public void setName(String name)
	{
		this.name = name;
	}
	// </editor-fold>
	// <editor-fold desc="Property - value" defaultstate="collapsed">
	private Object value;
	/**
	 * This property method gets the SQL parameter value.
	 */
	public Object getValue()
	{
		return value;
	}
	/**
	 * This property method sets the SQL parameter type.
	 */
	public void setValue(Object value)
	{
		this.value = value;
	}
	// </editor-fold>
}
